INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

SET(assetbrowser_SOURCES assetbrowser.cpp assetbrowserplugin.cpp)
SET(assetbrowser_HEADERS assetbrowser.h assetbrowserplugin.h)

QT4_WRAP_CPP(assetbrowser_HEADERS_MOC ${assetbrowser_HEADERS})

ADD_LIBRARY(TryAssetBrowser SHARED ${assetbrowser_SOURCES} ${assetbrowser_HEADERS_MOC} ${assetbrowser_FORMS_H})

TARGET_LINK_LIBRARIES(TryAssetBrowser ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(TryAssetBrowser ${QT_QTDECLARATIVE_LIBRARIES})
TARGET_LINK_LIBRARIES(TryAssetBrowser TrySandboxCore)
